package com.vivebest.utils.chc.domain;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.List;

/**
 * <p>
 *     consul健康检测 json映射实体
 * </p>
 * @author zsk
 * @date 2020/8/5 下午8:00
 */
@Data
public class ConsulHealth {
    @JSONField(name = "Node")
    private String node;
    @JSONField(name = "CheckID")
    private String checkId;
    @JSONField(name = "Name")
    private String name;
    @JSONField(name = "Status")
    private String status;
    @JSONField(name = "Output")
    private String output;
    @JSONField(name = "ServiceID")
    private String serviceId;
    @JSONField(name = "ServiceName")
    private String serviceName;
    @JSONField(name = "ServiceTags")
    private List<String> serviceTags;
    @JSONField(name = "Type")
    private String type;
    @JSONField(name = "Definition")
    private String definition;
    @JSONField(name = "CreateIndex")
    private int createIndex;
    @JSONField(name = "ModifyIndex")
    private int modifyIndex;
}
